


package com.UMLife.me.ui;

import com.UMLife.me.action.AboutItUIAction;
import com.UMLife.me.global.Global;
import de.enough.polish.ui.Form;
import de.enough.polish.ui.ImageItem;
import de.enough.polish.ui.Item;
import de.enough.polish.ui.StringItem;





public class AboutItUI
		extends Form
{
	public AboutItUI()
	{
		//#style AboutItUI
		super(null);
		this.text = "1.游戏介绍\n优蜜奖品乐园，回答问题即有机会可以赢得奖品，赶快参与吧！\n2.玩法介绍\n很简单，只要你看到问题后输入答案，点击GO即可完成答题。如果您看不明白问题，点击提示看看我们给你的提示信息，加油吧！";
		
		//#style AboutIttextItem
		StringItem textItem = new StringItem(null, this.text, Item.PLAIN);
		this.append(Global.getGlobalLogo());
		this.append(textItem);
		AboutItUIAction action = new AboutItUIAction(this);
		this.setCommandListener(action);
		
	}
	
	/**
	 * 设置‘关于它’的内容
	 * 
	 * @param str
	 */
	public void setText(String str)
	{
		//TODO
		this.text = str;
	}
	
	private ImageItem	logo;
	
	private String		text;
}
